@import  '~@/style/min.less';
@import '~@/style/var.less';
.message{
    .center();
    border-radius: 5px;
    box-shadow: -3px 3px 2px rgba(0, 0, 0, 0.5);
    padding: 10px 30px;
    line-height: 2;
    color: #fff;
    display: flex;
    align-content: center;
    transform: translate(-50%, -50%) translateY(15px);
    transition: 0.4s;
    opacity: 0;
    white-space: nowrap;
    .Icon-container{
        font-size: 20px;
    }
    &-info{
        background-color: @primary;
    }
    &-success{
        background-color: @success;
    }
    &-warn{
        background-color: @warn;
    }
    &-error{
        background-color: @danger;
    }
    
}
.icon{
    margin-right: 10px;
    .Icon-container{
        font-size: 20px;
    }
}